package com.itheima.mapper;

import com.itheima.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;
@Mapper
public interface EmpMapper  {
    Long count();

    List<Emp> selectByPage(Integer start, Integer pageSize);

    List<Emp> list(String name, String gender, LocalDate begin, LocalDate end);

    void deleteById(List<Integer> ids);

    void insertByList(Emp emp);

    List<Emp> selectByid(Integer id);
}
